from setuptools import find_packages, setup
import os
from glob import glob

package_name = 'kitt'

setup(
    name=package_name,
    version='0.0.0',
    packages=find_packages(exclude=['test']),
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
        (os.path.join('share', package_name), glob('launch/*launch.[pxy][yma]*')),
        ('share/' + package_name + '/images', ['resource/images/model.png']),#拷贝汽车图片到共享目录
        ('share/' + package_name, ['resource/coordinate_net.keras'])#拷贝模型文件到共享目录
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='fotianmoyin',
    maintainer_email='190045431@qq.com',
    description='自动驾驶汽车模拟器',
    license='MIT License',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'car = kitt.car:main',
            'brain = kitt.brain:main',
            'master = kitt.master:main'
        ],
    },
    include_package_data=True
)
